/****
 * 还款类型
 * @type {{"1": string, "2": string, "3": string}}
 */
export const repayTypeConfig = {
  1: "本金",
  2: "利息",
  3: "服务费",
  4: "本金+利息"
}

/****
 * 还款状态
 * @type {{"1": string, "2": string, "3": string, "4": string, "5": string}}
 */
export const loanStatusConfig = {
  1: '还款中',
  2: '已完成',
  3: '逾期',
  4: '审核中',
  5: '已关闭'
}

/****
 * 实名认证状态
 * 跳转
 * @type string
 * {{"0": "未认证", "1": "认证失败", "2": "已认证成功，未确认", "3": "已认证成功，已确认", "4": "授权成功"}}
 *
 */
export const certifyLink = {
  '0': '/authen.html#/unagree',
  '1': '/authen.html#/erragree',
  '2': '/authen.html#/nameCertification',
  '3': '/authen.html#/agreed',
  '4': '/fund.html#/fund'
}

export const certifyByXzs = {
	'0': '/authen.html#/unagree',
	'1': '/authen.html#/erragree',
	'2': '/authen.html#/nameCertifyByXzs',
	'3': '/authen.html#/agreed',
	'4': '/fund.html#/fund'
}

export const loanType = {
  '0': '随借随还',
  '1': '等额本息'
}

export const accountType = {
  '1': '退税专户',
  '2': '一般结算户'
}

export const loanStatusType = {
  '1': '已完成',
  '2': '还款中',
  '3': '逾期',
  '4': '审核中',
  '5': '已关闭',
}

export const loanStatusTypeSpdb = {
  '1': '审核中',
  '3': '已关闭',
  '4': '待提款',
  '5': '提款成功',
  '6': '已还清',
}

export const repayStatusType = {
  'SERVICE': '服务费',
  'INTEREST': '利息',
  'BX': '本金+利息',
  'PRINCIPAL': '本金'
}

export const repayAccountType = {
  '0': '退税专户',
  '1': '一般结算账户'
}
